<!DOCTYPE HTML>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo('charset'); ?>" />
    
    <?php if (is_search()) { ?>
       <meta name="robots" content="noindex, nofollow" /> 
    <?php } ?>

	<title>
           <?php
              if (function_exists('is_tag') && is_tag()) {
                 single_tag_title("Tag Archive for &quot;"); echo '&quot; - '; }
              elseif (is_archive()) {
                 wp_title(''); echo ' Archive - '; }
              elseif (is_search()) {
                 echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; }
              elseif (!(is_404()) && (is_single()) || (is_page())) {
                 wp_title(''); echo ' - '; }
              elseif (is_404()) {
                 echo 'Not Found - '; }
              if (is_home()) {
                 bloginfo('name'); echo ' - '; bloginfo('description'); }
              else {
                  bloginfo('name'); }
              if ($paged>1) {
                 echo ' - page '. $paged; }
           ?>
    </title>
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
    

    <?php if ( is_singular() ) wp_enqueue_script('comment-reply'); ?>

    <?php wp_head(); ?>
        
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <script src="<?php bloginfo( 'template_directory' ); ?>/js/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="<?php bloginfo( 'template_directory' ); ?>/js/jcarousellite_1.0.1.min.js" type="text/javascript"></script>
    <script src="<?php bloginfo( 'template_directory' ); ?>/js/jmpress.min.js" type="text/javascript"></script>
    <script src="<?php bloginfo( 'template_directory' ); ?>/js/jquery.jmslideshow.js" type="text/javascript"></script>
    <script src="<?php bloginfo( 'template_directory' ); ?>/js/modernizr.custom.48780.js" type="text/javascript"></script>
    <script src="<?php bloginfo( 'template_directory' ); ?>/js/recent.js" type="text/javascript"></script>
    <script src="<?php bloginfo( 'template_directory' ); ?>/js/services.js" type="text/javascript"></script>
    <script src="<?php bloginfo( 'template_directory' ); ?>/js/main.js" type="text/javascript"></script>
        <?php if(is_home()) { ?>
            <link href="<?php bloginfo( 'template_directory' ); ?>/css/slider.css" rel="stylesheet" type="text/css" />
        <?php } ?>
           
        <?php if(is_page('thiet-ke-cua-toi')) { ?>
            <link href="<?php bloginfo( 'template_directory' ); ?>/css/work.css" rel="stylesheet" type="text/css" />
            <script src="<?php bloginfo( 'template_directory' ); ?>/js/workd.js" type="text/javascript"></script>
        <?php } ?>
            
    <!--[if lt IE 9]>
		<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'template_directory' ); ?>/css/style_ie.css" />
	<![endif]-->
    

    
    <script type="text/javascript">
        $(window).scroll(function() {
		if ($(this).scrollTop() > 200) {
			$('.top').fadeIn(200);
		} else {
			$ ('.top').fadeOut(200);
		}
	});
    </script>
    
</head>

<body  <?php body_class(); ?>>
    <header>
        <section>
            <h1 class="logo">
                <a href="#">W<span>D</span></a>
            </h1>

            <nav>

                <?php wp_nav_menu(array('menu'=>'Main menu', 'container'=>'')); ?>
            </nav>
        </section>
    </header><!--end header-->